<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
    pageEncoding="ISO-8859-1"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Student_info</title>
</head>
<body>
<div class="content">

<s:push value="studentBean">
<b>First Name: </b><s:property value="firstName"/><br><br>
<b>Last Name: </b><s:property value="lastName"/><br><br>
<b>Roll No: </b><s:property value="RollNo"/><br><br>
<b>Specialization: </b><s:property value="specialization"/><br><br>
<b>Email: </b><s:property value="email"/><br><br>
<b>Phone: </b><s:property value="phone"/>
<br>
<br>
<b>Friend List</b>
<br>
<s:iterator value="studentBean.friends">
<b>First Name: </b><s:property value="firstName"/><br>
<b>Last Name: </b><s:property value="lastName"/><br>
<b>Roll No: </b><s:property value="RollNo"/><br>
<br>
</s:iterator>

<b>Mark List</b>
<br>
<s:iterator value="studentBean.marks">
<b>Subject: </b><s:property value="subjectName"/><br>
<b>Marks Obtained: </b><s:property value="marksObtained"/><br>
<b>Max Marks: </b><s:property value="maxMarks"/><br>
<br>
</s:iterator>
<div style="position:absolute;top:300px;right:300px;">
<img border="1" src="student_photo/<s:property value="studentId"/>.jpg" alt="Pic not available" width="200px" height="200px" />
</div>
</s:push>
<%-- <s:property value="studentBean"/> --%>

</div>
<%-- <%=session.getAttribute("userid")%> --%>

</body>
</html>